[INFO] fetching crate kn0sys-nn 0.9.1...
[INFO] checking kn0sys-nn-0.9.1 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate kn0sys-nn 0.9.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate kn0sys-nn 0.9.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate kn0sys-nn 0.9.1
[INFO] tweaked toml for crates.io crate kn0sys-nn 0.9.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate kn0sys-nn 0.9.1 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate kn0sys-nn 0.9.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d5e24b1d57d8a866db372c35484387a1946ce21e1d93747a7934ff82ceb995f
[INFO] running `Command { std: "docker" "start" "-a" "3d5e24b1d57d8a866db372c35484387a1946ce21e1d93747a7934ff82ceb995f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d5e24b1d57d8a866db372c35484387a1946ce21e1d93747a7934ff82ceb995f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d5e24b1d57d8a866db372c35484387a1946ce21e1d93747a7934ff82ceb995f", kill_on_drop: false }`
[INFO] [stdout] 3d5e24b1d57d8a866db372c35484387a1946ce21e1d93747a7934ff82ceb995f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3da935396cb124c655ad55142f470d5ead8846f4724e111cd278ff5590d353d8
[INFO] running `Command { std: "docker" "start" "-a" "3da935396cb124c655ad55142f470d5ead8846f4724e111cd278ff5590d353d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]    Compiling zerocopy v0.8.17
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]    Compiling cc v1.2.13
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking uuid v1.13.1
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling cpp_demangle v0.4.4
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling symbolic-demangle v10.2.1
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking debugid v0.8.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking oorandom v11.1.4
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]     Checking bytemuck v1.21.0
[INFO] [stderr]     Checking miniz_oxide v0.8.3
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]     Checking rgb v0.8.50
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking quick-xml v0.26.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling pprof v0.11.1
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking str_stack v0.1.0
[INFO] [stderr]    Compiling linfa v0.7.1
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking noisy_float v0.2.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking order-stat v0.1.3
[INFO] [stderr]    Compiling findshlibs v0.10.2
[INFO] [stderr]     Checking kn0sys_ndarray v0.17.1
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking clap_builder v4.5.27
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking is-terminal v0.4.15
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_core v0.9.0
[INFO] [stderr]     Checking symbolic-common v10.2.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_xoshiro v0.7.0
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking tempfile v3.16.0
[INFO] [stderr]     Checking clap v4.5.28
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]     Checking sprs v0.11.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking kdtree v0.7.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking inferno v0.11.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking kn0sys-ndarray-stats v0.7.1
[INFO] [stderr]     Checking rand_distr v0.5.0
[INFO] [stderr]     Checking kn0sys_ndarray_rand v0.16.1
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking kn0sys-nn v0.9.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 103 |     ) -> Result<Vec<(Point<F>, usize)>, NnError>;
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 103 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError>;
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 115 |     ) -> Result<Vec<(Point<F>, usize)>, NnError>;
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 115 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError>;
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/balltree.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 204 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 204 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/balltree.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 268 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 268 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/balltree.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 276 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 276 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/kdtree.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 58 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]    |                      -------- the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 58 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/kdtree.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 75 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]    |                      -------- the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 75 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/linear.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 37 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]    |                      -------- the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/linear.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 60 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]    |                      -------- the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 60 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NearestNeighbour`
[INFO] [stdout]  --> benches/nn.rs:3:54
[INFO] [stdout]   |
[INFO] [stdout] 3 | use kn0sys_nn::{distance::*, CommonNearestNeighbour, NearestNeighbour};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/nn.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     config::set_default_benchmark_configs(&mut benchmark);
[INFO] [stdout]    |     ------------------------------------- ^^^^^^^^^^^^^^ expected `BenchmarkGroup<'_, WallTime>`, found a different `BenchmarkGroup<'_, WallTime>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: two different versions of crate `criterion` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.5.1/src/benchmark_group.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct BenchmarkGroup<'a, M: Measurement> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `BenchmarkGroup`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.4.0/src/benchmark_group.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct BenchmarkGroup<'a, M: Measurement> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `criterion::benchmark_group::BenchmarkGroup`
[INFO] [stdout]    |
[INFO] [stdout]   ::: benches/nn.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
[INFO] [stdout]    |     --------- one version of crate `criterion` used here, as a direct dependency of the current crate
[INFO] [stdout] 2  | use linfa::benchmarks::config;
[INFO] [stdout]    |     ----- one version of crate `criterion` used here, as a dependency of crate `linfa`
[INFO] [stdout]    = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linfa-0.7.1/src/benchmarks/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn set_default_benchmark_configs(benchmark: &mut BenchmarkGroup<WallTime>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> benches/nn.rs:22:58
[INFO] [stdout]     |
[INFO] [stdout] 22  |             Array2::random_using((n_points, n_features), Uniform::new(-500., 500.), rng);
[INFO] [stdout]     |             --------------------                         ^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |             |
[INFO] [stdout]     |             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `kn0sys_ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, kn0sys_ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.0/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: benches/nn.rs:2:5
[INFO] [stdout]     |
[INFO] [stdout] 2   | use linfa::benchmarks::config;
[INFO] [stdout]     |     ----- one version of crate `rand` used here, as a dependency of crate `linfa`
[INFO] [stdout] 3   | use kn0sys_nn::{distance::*, CommonNearestNeighbour, NearestNeighbour};
[INFO] [stdout]     |     --------- one version of crate `rand` used here, as a dependency of crate `kn0sys_ndarray_stats`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: this type doesn't implement the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kn0sys_ndarray_rand-0.16.1/src/lib.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 121 |     where
[INFO] [stdout] 122 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/nn-23bf71d91f6c0617.long-type-4077604638499803599.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_batch` found for reference `&CommonNearestNeighbour` in the current scope
[INFO] [stdout]   --> benches/nn.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 |                     bencher.iter(|| alg.from_batch(&points, L2Dist).unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `batch` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 -                     bencher.iter(|| alg.from_batch(&points, L2Dist).unwrap());
[INFO] [stdout] 30 +                     bencher.iter(|| alg.batch(&points, L2Dist).unwrap());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/nn.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |     config::set_default_benchmark_configs(&mut benchmark);
[INFO] [stdout]    |     ------------------------------------- ^^^^^^^^^^^^^^ expected `BenchmarkGroup<'_, WallTime>`, found a different `BenchmarkGroup<'_, WallTime>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: two different versions of crate `criterion` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.5.1/src/benchmark_group.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct BenchmarkGroup<'a, M: Measurement> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `BenchmarkGroup`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.4.0/src/benchmark_group.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct BenchmarkGroup<'a, M: Measurement> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `criterion::benchmark_group::BenchmarkGroup`
[INFO] [stdout]    |
[INFO] [stdout]   ::: benches/nn.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
[INFO] [stdout]    |     --------- one version of crate `criterion` used here, as a direct dependency of the current crate
[INFO] [stdout] 2  | use linfa::benchmarks::config;
[INFO] [stdout]    |     ----- one version of crate `criterion` used here, as a dependency of crate `linfa`
[INFO] [stdout]    = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linfa-0.7.1/src/benchmarks/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn set_default_benchmark_configs(benchmark: &mut BenchmarkGroup<WallTime>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> benches/nn.rs:52:51
[INFO] [stdout]     |
[INFO] [stdout] 52  |         let pt = Array1::random_using(n_features, distr, &mut rng);
[INFO] [stdout]     |                  --------------------             ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `kn0sys_ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, kn0sys_ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.0/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: benches/nn.rs:2:5
[INFO] [stdout]     |
[INFO] [stdout] 2   | use linfa::benchmarks::config;
[INFO] [stdout]     |     ----- one version of crate `rand` used here, as a dependency of crate `linfa`
[INFO] [stdout] 3   | use kn0sys_nn::{distance::*, CommonNearestNeighbour, NearestNeighbour};
[INFO] [stdout]     |     --------- one version of crate `rand` used here, as a dependency of crate `kn0sys_ndarray_stats`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: this type doesn't implement the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kn0sys_ndarray_rand-0.16.1/src/lib.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 121 |     where
[INFO] [stdout] 122 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/nn-23bf71d91f6c0617.long-type-5348522097905081095.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> benches/nn.rs:53:71
[INFO] [stdout]     |
[INFO] [stdout] 53  |         let points_arr = Array2::random_using((n_points, n_features), distr, &mut rng);
[INFO] [stdout]     |                          --------------------                         ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `kn0sys_ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, kn0sys_ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.0/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: benches/nn.rs:2:5
[INFO] [stdout]     |
[INFO] [stdout] 2   | use linfa::benchmarks::config;
[INFO] [stdout]     |     ----- one version of crate `rand` used here, as a dependency of crate `linfa`
[INFO] [stdout] 3   | use kn0sys_nn::{distance::*, CommonNearestNeighbour, NearestNeighbour};
[INFO] [stdout]     |     --------- one version of crate `rand` used here, as a dependency of crate `kn0sys_ndarray_stats`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: this type doesn't implement the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kn0sys_ndarray_rand-0.16.1/src/lib.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 121 |     where
[INFO] [stdout] 122 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/nn-23bf71d91f6c0617.long-type-10759643613647670442.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 103 |     ) -> Result<Vec<(Point<F>, usize)>, NnError>;
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 103 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError>;
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 115 |     ) -> Result<Vec<(Point<F>, usize)>, NnError>;
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 115 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError>;
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/balltree.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 204 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 204 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/balltree.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 268 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 268 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/balltree.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 276 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]     |                      -------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 276 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/kdtree.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 58 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]    |                      -------- the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 58 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/kdtree.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 75 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]    |                      -------- the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 75 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/linear.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 37 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]    |                      -------- the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/linear.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 60 |     ) -> Result<Vec<(Point<F>, usize)>, NnError> {
[INFO] [stdout]    |                      -------- the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 60 |     ) -> Result<Vec<(Point<'_, F>, usize)>, NnError> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_batch` found for reference `&CommonNearestNeighbour` in the current scope
[INFO] [stdout]   --> benches/nn.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let nn = alg.from_batch(&points, L2Dist).unwrap();
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `batch` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 57 -             let nn = alg.from_batch(&points, L2Dist).unwrap();
[INFO] [stdout] 57 +             let nn = alg.batch(&points, L2Dist).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> benches/nn.rs:75:43
[INFO] [stdout]    |
[INFO] [stdout] 75 |     config::set_default_benchmark_configs(&mut benchmark);
[INFO] [stdout]    |     ------------------------------------- ^^^^^^^^^^^^^^ expected `BenchmarkGroup<'_, WallTime>`, found a different `BenchmarkGroup<'_, WallTime>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: two different versions of crate `criterion` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.5.1/src/benchmark_group.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct BenchmarkGroup<'a, M: Measurement> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `BenchmarkGroup`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.4.0/src/benchmark_group.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct BenchmarkGroup<'a, M: Measurement> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `criterion::benchmark_group::BenchmarkGroup`
[INFO] [stdout]    |
[INFO] [stdout]   ::: benches/nn.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
[INFO] [stdout]    |     --------- one version of crate `criterion` used here, as a direct dependency of the current crate
[INFO] [stdout] 2  | use linfa::benchmarks::config;
[INFO] [stdout]    |     ----- one version of crate `criterion` used here, as a dependency of crate `linfa`
[INFO] [stdout]    = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linfa-0.7.1/src/benchmarks/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn set_default_benchmark_configs(benchmark: &mut BenchmarkGroup<WallTime>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> benches/nn.rs:87:51
[INFO] [stdout]     |
[INFO] [stdout] 87  |         let pt = Array1::random_using(n_features, distr, &mut rng);
[INFO] [stdout]     |                  --------------------             ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `kn0sys_ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, kn0sys_ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.0/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: benches/nn.rs:2:5
[INFO] [stdout]     |
[INFO] [stdout] 2   | use linfa::benchmarks::config;
[INFO] [stdout]     |     ----- one version of crate `rand` used here, as a dependency of crate `linfa`
[INFO] [stdout] 3   | use kn0sys_nn::{distance::*, CommonNearestNeighbour, NearestNeighbour};
[INFO] [stdout]     |     --------- one version of crate `rand` used here, as a dependency of crate `kn0sys_ndarray_stats`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: this type doesn't implement the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kn0sys_ndarray_rand-0.16.1/src/lib.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 121 |     where
[INFO] [stdout] 122 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/nn-23bf71d91f6c0617.long-type-5348522097905081095.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<Uniform<{float}>, Error>: Distribution<_>` is not satisfied
[INFO] [stdout]    --> benches/nn.rs:88:71
[INFO] [stdout]     |
[INFO] [stdout] 88  |         let points_arr = Array2::random_using((n_points, n_features), distr, &mut rng);
[INFO] [stdout]     |                          --------------------                         ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `kn0sys_ndarray_rand::rand_distr::Distribution<_>` is not implemented for `Result<Uniform<{float}>, kn0sys_ndarray_rand::rand_distr::uniform::Error>`
[INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.9.0/src/distr/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: benches/nn.rs:2:5
[INFO] [stdout]     |
[INFO] [stdout] 2   | use linfa::benchmarks::config;
[INFO] [stdout]     |     ----- one version of crate `rand` used here, as a dependency of crate `linfa`
[INFO] [stdout] 3   | use kn0sys_nn::{distance::*, CommonNearestNeighbour, NearestNeighbour};
[INFO] [stdout]     |     --------- one version of crate `rand` used here, as a dependency of crate `kn0sys_ndarray_stats`
[INFO] [stdout]    --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: this type doesn't implement the required trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub trait Distribution<T> {
[INFO] [stdout]     | ------------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: required by a bound in `random_using`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kn0sys_ndarray_rand-0.16.1/src/lib.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |     fn random_using<Sh, IdS, R>(shape: Sh, distribution: IdS, rng: &mut R) -> ArrayBase<S, D>
[INFO] [stdout]     |        ------------ required by a bound in this associated function
[INFO] [stdout] 121 |     where
[INFO] [stdout] 122 |         IdS: Distribution<S::Elem>,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RandomExt::random_using`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/nn-23bf71d91f6c0617.long-type-10759643613647670442.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_batch` found for reference `&CommonNearestNeighbour` in the current scope
[INFO] [stdout]   --> benches/nn.rs:92:26
[INFO] [stdout]    |
[INFO] [stdout] 92 |             let nn = alg.from_batch(&points, L2Dist).unwrap();
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `batch` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 92 -             let nn = alg.from_batch(&points, L2Dist).unwrap();
[INFO] [stdout] 92 +             let nn = alg.batch(&points, L2Dist).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/nn.rs:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | / criterion_group! {
[INFO] [stdout] 108 | |     name = benches;
[INFO] [stdout] 109 | |     config = config::get_default_profiling_configs();
[INFO] [stdout] 110 | |     targets = nn_build_bench, k_nearest_bench, within_range_bench
[INFO] [stdout] 111 | | }
[INFO] [stdout]     | | ^
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_expected `Criterion<_>`, found `Criterion`
[INFO] [stdout]     |   expected due to this
[INFO] [stdout]     |
[INFO] [stdout] note: two different versions of crate `criterion` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.5.1/src/lib.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub struct Criterion<M: Measurement = WallTime> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `Criterion`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.4.0/src/lib.rs:340:1
[INFO] [stdout]     |
[INFO] [stdout] 340 | pub struct Criterion<M: Measurement = WallTime> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `criterion::Criterion`
[INFO] [stdout]     |
[INFO] [stdout]    ::: benches/nn.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
[INFO] [stdout]     |     --------- one version of crate `criterion` used here, as a direct dependency of the current crate
[INFO] [stdout] 2   | use linfa::benchmarks::config;
[INFO] [stdout]     |     ----- one version of crate `criterion` used here, as a dependency of crate `linfa`
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = note: this error originates in the macro `criterion_group` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kn0sys-nn` (bench "nn") due to 12 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3da935396cb124c655ad55142f470d5ead8846f4724e111cd278ff5590d353d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3da935396cb124c655ad55142f470d5ead8846f4724e111cd278ff5590d353d8", kill_on_drop: false }`
[INFO] [stdout] 3da935396cb124c655ad55142f470d5ead8846f4724e111cd278ff5590d353d8
